<template>
  <el-container style="height: 800px; border: 1px solid #eee">
    <el-aside width="300px" style="background-color: rgb(238, 241, 246)">
      <left></left>
    </el-aside>

    <el-container>
      <el-header style="text-align: right; font-size: 12px">
        <top></top>
      </el-header>

      <tables></tables>

<!--      <el-main>
        <router-view></router-view>
      </el-main>-->
    </el-container>
  </el-container>
</template>

<script>
import left from "../components/left";
import top from "../components/top";
import tables from "../components/tables";


export default {
  name: "MainView",
  data() {
    return {

    }
  },
  //注册组件
  components: {
    left,
    top,
    tables,
  },
  methods:{

  },
}
</script>

<style>
.el-header {
  background-color: #B3C0D1;
  color: #333;
  line-height: 60px;
}

.el-aside {
  color: #333;
}
</style>

